home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- #
- # Preflight installer script
- # Copyright 2008 Adobe Systems Incorporated. All Rights Reserved.
- #
-
- # ----------------------------------------------------------------------
- # [1] Perform version check and don't install on v10.2 & v10.3 systems.
- # ----------------------------------------------------------------------
- "$1/Contents/Resources/MacOSXVersionCheck.sh"
-
- # Fail script if operation didn't execute successfully
- EXIT_STATUS=$?
- if [ $EXIT_STATUS -ne 0 ]
- then
- exit $EXIT_STATUS
- fi
-
- # ----------------------------------------------------------------------
- # [2] If user's system >= v10.4, continue
- # ----------------------------------------------------------------------
- "$1/Contents/Resources/CloseFPClients.app/Contents/MacOS/CloseFPClients"
-
- # Fail script if operation didn't execute successfully
- EXIT_STATUS=$?
- if [ $EXIT_STATUS -ne 0 ]
- then
- exit $EXIT_STATUS
- fi
-